package com.yuandian.management.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuandian.api.management.entity.ConfAlarmThreshold;
import com.yuandian.management.mapper.ConfAlarmThresholdMapper;
import com.yuandian.management.service.ConfAlarmThresholdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 告警阈值明细-Service实现
 * @author zfsn
 * @date 2023-4-4
 */
@Service
public class ConfAlarmThresholdServiceImpl extends ServiceImpl<ConfAlarmThresholdMapper, ConfAlarmThreshold>
		implements ConfAlarmThresholdService {

	@Autowired
	private ConfAlarmThresholdMapper confAlarmThresholdMapper;

	@Override
	public List<ConfAlarmThreshold> queryThresholdByAlarmId(Integer id) {
		return confAlarmThresholdMapper.queryThresholdByAlarmId(id);
	}
}